package com.xb.loan.usercenter.service.user;


import com.xb.loan.log.exception.BizException;
import com.xb.loan.usercenter.service.user.bean.UserMsgVO;

import java.util.List;

/**
 * 类  描  述 : 用户实名信息接口
 */
public interface IUserMsgService {
	
	public void add(UserMsgVO userMsgVO) throws BizException;
	
	public void deleteById(String id, String userId) throws BizException;

	public void deleteBatch(String sysId, String tableId) throws BizException;

	public void updateById(UserMsgVO userMsgVO) throws BizException;

	public void updateBatch(String sysId, String title, String content, String imgUrl, String tableId) throws BizException;

	public UserMsgVO queryById(String id, String userId) throws BizException;

	public List<UserMsgVO> queryUserMsg(String userId, String title, String content, Integer type, Integer status,
                                        String startTime, String endTime, int pageNum, int numPerPage) throws BizException;

	public int queryUserMsgCount(String userId, String title, String content, Integer type, Integer status,
                                 String startTime, String endTime) throws BizException;

	/**
	 * 该接口目前主要是提供反馈查询回复所用
	 */
	public List<UserMsgVO> queryUserMsg(List<String> sysidList, String userId) throws BizException;
}
